 
package com.heima.wemedia.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmPageDto;
import com.heima.model.wemedia.pojos.WmChannel;
 
public interface WmChannelService extends IService<WmChannel> {
 
    /**
     * 查询所有频道
     * @return
     */
    public ResponseResult findAll();


    ResponseResult del(Integer id);

    ResponseResult listByname(WmPageDto dto);

    ResponseResult insert(AdChannel adChannel);

    ResponseResult updateByChannel(AdChannel adChannel);
}